local cart = redis.call('hgetall','dxsd-cart-'..KEYS[1]..'-'..KEYS[2])
if next(cart) == nil then
    return false
end
local user = redis.call('hgetall','dxsd-user-'..KEYS[1])
if next(user) == nil then
    return false
end
local userAddress = redis.call('hget','dxsd-useraddress-'..KEYS[1], KEYS[3])
if userAddress == false then
    return false
end
local schoolId = redis.call('hget','dxsd-user-'..KEYS[1],'school_id')
local school = redis.call('hgetall','dxsd-school-'..schoolId)
if next(school) == nil then
    return false
end
local store = redis.call('hgetall','dxsd-store-'..KEYS[2])
if next(store) == nil then
    return false
end
return {cart,user,userAddress,school,store}